function [f_measure] = computeF1(precision, recall)

% computes f1 score from precision and recall statistics
%
% input: precision and recall
%
% output: returns f1 score

f_measure = 2*((precision*recall)/(precision + recall));

end

